package com.jiuyue.demo.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.jiuyue.demo.entity.ExternalUser;

@Service
public interface ElasticSearchService {
	
    //保存用户
	String saveAllUser();
    //查询用户
	String getAllUser();
	
	Object getUserByTag();
	
	Object findUserByTag(String tenantId, String userId, String tags, String beginTime, String endTime, String addWay,
			String status, Integer pageNum, Integer pageSize);
	//向es中插入新用户
	Object insertUserById(int id);
	void insertEs(ExternalUser esEntity);
	Object delUserById(int id);

	




}
